/**
    开户行 组件
**/
(function(vc){

    vc.extends({
        propTypes: {
           callBackListener:vc.propTypes.string, //父组件名称
           callBackFunction:vc.propTypes.string //父组件监听方法
        },
        data:{
            viewAccountBankInfo:{
                index:0,
                flowComponent:'viewAccountBankInfo',
                bankCode:'',
personName:'',
personTel:'',
bankName:'',

            }
        },
        _initMethod:function(){
            //根据请求参数查询 查询 业主信息
            $that._loadAccountBankInfoData();
        },
        _initEvent:function(){
            vc.on('viewAccountBankInfo','chooseAccountBank',function(_app){
                vc.copyObject(_app, $that.viewAccountBankInfo);
                vc.emit($props.callBackListener,$props.callBackFunction,$that.viewAccountBankInfo);
            });

            vc.on('viewAccountBankInfo', 'onIndex', function(_index){
                $that.viewAccountBankInfo.index = _index;
            });

        },
        methods:{

            _openSelectAccountBankInfoModel(){
                vc.emit('chooseAccountBank','openChooseAccountBankModel',{});
            },
            _openAddAccountBankInfoModel(){
                vc.emit('addAccountBank','openAddAccountBankModal',{});
            },
            _loadAccountBankInfoData:function(){

            }
        }
    });

})(window.vc);
